package com.roadjava.rbac.bean.req.user;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 新增入参
 * @author zhaodaowen
 *
 */
@Data
public class AssignRoleReq {
    /**
     * 用户id
     */
    @NotNull
    private Long userId;
    /**
     * 角色id集合
     */
    @NotEmpty
    private List<Long> roleIds;
}
